<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>GeorgeLib: GeorgeLib::Director Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GeorgeLib
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>GeorgeLib</b></li><li class="navelem"><a class="el" href="class_george_lib_1_1_director.html">Director</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_george_lib_1_1_director-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">GeorgeLib::Director Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Creates and handles the main OpenGL window, and manages <a class="el" href="class_george_lib_1_1_scene.html">Scenes </a>.  
 <a href="class_george_lib_1_1_director.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_director_8h_source.html">Director.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for GeorgeLib::Director:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_george_lib_1_1_director.png" usemap="#GeorgeLib::Director_map" alt=""/>
  <map id="GeorgeLib::Director_map" name="GeorgeLib::Director_map">
<area href="class_george_lib_1_1_singleton.html" alt="GeorgeLib::Singleton&lt; Director &gt;" shape="rect" coords="0,0,199,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af35116f0cdfb2619f85614cfb75a0b04"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af35116f0cdfb2619f85614cfb75a0b04"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1_director.html#af35116f0cdfb2619f85614cfb75a0b04">Director</a> (void)</td></tr>
<tr class="memdesc:af35116f0cdfb2619f85614cfb75a0b04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br/></td></tr>
<tr class="separator:af35116f0cdfb2619f85614cfb75a0b04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae87d60a7661fe878e3fab8e612c57470"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae87d60a7661fe878e3fab8e612c57470"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1_director.html#ae87d60a7661fe878e3fab8e612c57470">~Director</a> (void)</td></tr>
<tr class="memdesc:ae87d60a7661fe878e3fab8e612c57470"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br/></td></tr>
<tr class="separator:ae87d60a7661fe878e3fab8e612c57470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d6b3a94b2e671ac02db1b897528e828"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d6b3a94b2e671ac02db1b897528e828"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Init</b> (int argc, char **argv, const char *title, int width=800, int height=600)</td></tr>
<tr class="separator:a3d6b3a94b2e671ac02db1b897528e828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa254e156e577ddd48c715498244517b2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa254e156e577ddd48c715498244517b2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetWindowSize</b> (int width, int height)</td></tr>
<tr class="separator:aa254e156e577ddd48c715498244517b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a6b8701f26080d2e30fb0d645021b65"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a6b8701f26080d2e30fb0d645021b65"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Start</b> (void)</td></tr>
<tr class="separator:a0a6b8701f26080d2e30fb0d645021b65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0d0f69294d68712edd927a5f6bcdc09"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac0d0f69294d68712edd927a5f6bcdc09"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>AddScene</b> (string name, <a class="el" href="class_george_lib_1_1_scene.html">Scene</a> *scene, bool bRunScene=false)</td></tr>
<tr class="separator:ac0d0f69294d68712edd927a5f6bcdc09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6f86a7a63997d24face17d42196e081"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6f86a7a63997d24face17d42196e081"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>ChangeScene</b> (string name)</td></tr>
<tr class="separator:af6f86a7a63997d24face17d42196e081"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a513cad56f14e28f42eac0847fe9097e9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a513cad56f14e28f42eac0847fe9097e9"></a>
<a class="el" href="class_george_lib_1_1_scene.html">Scene</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getScene</b> (string name)</td></tr>
<tr class="separator:a513cad56f14e28f42eac0847fe9097e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53272dbb5b8474632707aec6844fa0a0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a53272dbb5b8474632707aec6844fa0a0"></a>
<a class="el" href="class_george_lib_1_1_scene.html">Scene</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getCurrScene</b> (void)</td></tr>
<tr class="separator:a53272dbb5b8474632707aec6844fa0a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81efa40ff2b45aecaeafe2237ae9033b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81efa40ff2b45aecaeafe2237ae9033b"></a>
<a class="el" href="class_george_lib_1_1_scene.html">Scene</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getPrevScene</b> (void)</td></tr>
<tr class="separator:a81efa40ff2b45aecaeafe2237ae9033b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a304e2d21a072e328b7146e6701f04f6a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a304e2d21a072e328b7146e6701f04f6a"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getFPS</b> (void)</td></tr>
<tr class="separator:a304e2d21a072e328b7146e6701f04f6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af489e05a62bcd7cc066951dcffe1352e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af489e05a62bcd7cc066951dcffe1352e"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getDeltaTime</b> (void)</td></tr>
<tr class="separator:af489e05a62bcd7cc066951dcffe1352e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5389ef5d5d375bfda1c0e5382c987f82"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5389ef5d5d375bfda1c0e5382c987f82"></a>
<a class="el" href="class_george_lib_1_1_input.html">Input</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>input</b></td></tr>
<tr class="separator:a5389ef5d5d375bfda1c0e5382c987f82"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:ad9edb00e330450146d1611566c9a2dc5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9edb00e330450146d1611566c9a2dc5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SceneDisplay</b> (void)</td></tr>
<tr class="separator:ad9edb00e330450146d1611566c9a2dc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae544fec6fc1ae53b6a844b12bb94603d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae544fec6fc1ae53b6a844b12bb94603d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SceneKeyboardDown</b> (unsigned char key, int x, int y)</td></tr>
<tr class="separator:ae544fec6fc1ae53b6a844b12bb94603d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8fa2e5acb9804e4c78cc408419f1d1b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8fa2e5acb9804e4c78cc408419f1d1b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SceneKeyboardUp</b> (unsigned char key, int x, int y)</td></tr>
<tr class="separator:ad8fa2e5acb9804e4c78cc408419f1d1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45327f89cab3138072340f51a322dce2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45327f89cab3138072340f51a322dce2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SceneSpecialDown</b> (int key, int x, int y)</td></tr>
<tr class="separator:a45327f89cab3138072340f51a322dce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5de34afd746bff8a507379f4d199e33"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5de34afd746bff8a507379f4d199e33"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SceneSpecialUp</b> (int key, int x, int y)</td></tr>
<tr class="separator:ab5de34afd746bff8a507379f4d199e33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd3022927f819ac072136fd2c24f2f26"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd3022927f819ac072136fd2c24f2f26"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SceneMouse</b> (int button, int state, int x, int y)</td></tr>
<tr class="separator:afd3022927f819ac072136fd2c24f2f26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f515d36416871c33bbead53d4c3e9ec"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f515d36416871c33bbead53d4c3e9ec"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SceneMotion</b> (int x, int y)</td></tr>
<tr class="separator:a0f515d36416871c33bbead53d4c3e9ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef33d9ba844c723565e3b864da7250a6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef33d9ba844c723565e3b864da7250a6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>ScenePassiveMotion</b> (int x, int y)</td></tr>
<tr class="separator:aef33d9ba844c723565e3b864da7250a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_george_lib_1_1_singleton"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_george_lib_1_1_singleton')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_george_lib_1_1_singleton.html">GeorgeLib::Singleton&lt; Director &gt;</a></td></tr>
<tr class="memitem:a06a012bc4e84371d61f189668c8b8502 inherit pub_static_methods_class_george_lib_1_1_singleton"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06a012bc4e84371d61f189668c8b8502"></a>
static <a class="el" href="class_george_lib_1_1_director.html">Director</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getInstance</b> (void)</td></tr>
<tr class="separator:a06a012bc4e84371d61f189668c8b8502 inherit pub_static_methods_class_george_lib_1_1_singleton"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Creates and handles the main OpenGL window, and manages <a class="el" href="class_george_lib_1_1_scene.html">Scenes </a>. </p>
<p>The <a class="el" href="class_george_lib_1_1_director.html" title="Creates and handles the main OpenGL window, and manages Scenes . ">Director</a> is responsible for:</p>
<ul>
<li>initializing the OpenGL context</li>
<li>initializing the OpenGL Extensions Wrapper (GLEW) </li>
</ul>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/morbidintel/Desktop/GeorgeLib/GeorgeLib/include/<a class="el" href="_director_8h_source.html">Director.h</a></li>
<li>C:/Users/morbidintel/Desktop/GeorgeLib/GeorgeLib/src/Director.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 21 2015 13:43:18 for GeorgeLib by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
